<script charset="utf-8" src="{$_conf.static_server}/kindeditor/kindeditor-min.js"></script>
<script charset="utf-8" src="{$_conf.static_server}/kindeditor/lang/zh_CN.js"></script>
{literal}
<script>
var opts = {syncType : 'form', newlineTag: 'p', minHeight: '230px', width:'95%'};
{/literal}
{if $opts}
	{literal}jQuery.extend(opts, {{/literal}{$opts}{literal}});{/literal}
{/if}
{literal}
var editor = KindEditor.create('textarea[name="{/literal}{$name}{literal}"]', opts);		
</script>
{/literal}
